package com.mes.cloud.api.dto.request.product;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description 查看产品分销策略的请求实体
 * @author dongyi
 * @date 2019-08-21 18:16
 **/
@Data
public class ProductSaleStrategyPageListRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "pageSize不能为空")
    private int pageSize;

    @ApiModelProperty(value = "区划编码/区划名称", required = false)
    private String queryString;

    @ApiModelProperty(value = "行政区划Id", required = true)
    @NotEmpty(message = "productId不能为空")
    private String productId;
}
